package core
{
	public class MatchDTO
	{
		public var id:int;
		public var state:int;
		public var PlayerName1:String;
		public var PlayerName2:String;
		public var turn:int;
		public var step:int;
		public var PlayerHp1:int;
		public var PlayerHp2:int;
		public var PlayerPower1:int;
		public var PlayerPower2:int;
		
		
		public function MatchDTO()
		{
			PlayerName1 = "";
			PlayerName2 = "";
			reset();
		}
		
		public function reset():void
		{
			id = -1;
			state = 0;			
			turn = 0;
			step = 1;
			PlayerHp1 = 20;
			PlayerHp2 = 20;
			PlayerPower1 = 0;
			PlayerPower2 = 2;
		}
	}
}